import java.util.Scanner;

public class DemoArrays {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        String [] element=new String[]{"Apple","tangerine","pear","watermelon","ananas"};
        boolean demo=false;
        System.out.print("请输入要查找的单词：");
        String English=input.next();
        for (int i = 0; i <element.length ; i++) {
            if (English.equals(element[i])){
                demo=true;
                break;
            }
        }
            if (demo)
                System.out.println("Yes");
            else
                System.out.println("No");
    }
}
